package com.lh.controller;

import com.alibaba.fastjson.JSONObject;
import com.lh.entity.table.DeadLineNodeRecord;
import com.lh.entity.table.DeadlineNodeUpdate;
import com.lh.service.DeadlineNodeUpdateServer;
import com.lh.utils.Answer;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/deadlineNodeUpdate")
public class DeadlineNodeUpdateController {
    @Resource
    private DeadlineNodeUpdateServer deadlineNodeUpdateServer;

    @RequestMapping("/selectListById")
    public Answer<Object> selectListById(@RequestBody JSONObject reqJson) {
        Integer id = reqJson.getInteger("id");
        return deadlineNodeUpdateServer.selectListById(id);
    }

}

